#! usr/bin/env python
from distutils.command.config import config
import rospy
from dynamic_reconfigure.server import Server
from tf_laser.cfg import laserConfig

def cb(config, level):
    rospy.loginfo("x=%f, y=%f, y=%f, theta=%f", config.laser_pose_x, config.laser_pose_y, config.laser_pose_z, config.laser_pose_theta)
    return config


if __name__ == "__main__":
    rospy.init_node("laserPose_p")
    server = Server(laserConfig, cb)
    rospy.spin()
    
